package cn.edu.dlut.port.isp.repostitory.teach;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

import cn.edu.dlut.port.isp.bean.teach.ShipBean;


// This will be AUTO IMPLEMENTED by Spring into a Bean called userRepository
// CRUD refers Create, Read, Update, Delete

public interface ShipRepository extends CrudRepository<ShipBean, Long> {

	List<ShipBean> findByCargoTypeIDAndTonnageDWTStartingWith(int cargoTypeid,String tonnageDWT);

}
